package me.macd.mindoc.model;

import java.util.Date;

public class DocumentHistoryWithBLOBs extends DocumentHistory {
    private String markdown;

    private String content;

    public DocumentHistoryWithBLOBs(Integer historyId, String action, String actionName, Integer documentId, String documentName, Integer parentId, Integer memberId, Date modifyTime, Integer modifyAt, Long version, Integer isOpen, String markdown, String content) {
        super(historyId, action, actionName, documentId, documentName, parentId, memberId, modifyTime, modifyAt, version, isOpen);
        this.markdown = markdown;
        this.content = content;
    }

    public DocumentHistoryWithBLOBs() {
        super();
    }

    public String getMarkdown() {
        return markdown;
    }

    public void setMarkdown(String markdown) {
        this.markdown = markdown == null ? null : markdown.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}